package cn.hackcloud.annotation.condition;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MyImportSelector implements ImportSelector {
	/**
	 * AnnotationMetadata 当前标注@Import注解类的所有信息
	 */
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		return new String[] { "cn.hackcloud.annotation.bean.Yellow", "cn.hackcloud.annotation.bean.Blue" };
	}

}
